<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="380.64612"
   height="310.49246"
   id="svg2"
   version="1.1"
   inkscape:version="0.47 r22583"
   sodipodi:docname="sampleprotocolflow2.svg">
  <defs
     id="defs4">
    <marker
       inkscape:stockid="Arrow1Lstart"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lstart"
       style="overflow:visible">
      <path
         id="path3946"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(0.8,0,0,0.8,10,0)" />
    </marker>
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend"
       style="overflow:visible">
      <path
         id="path3949"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       sodipodi:type="inkscape:persp3d"
       inkscape:vp_x="0 : 526.18109 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_z="744.09448 : 526.18109 : 1"
       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
       id="perspective10" />
    <inkscape:perspective
       id="perspective4399"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-6"
       style="overflow:visible">
      <path
         id="path3949-6"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective4427"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-1"
       style="overflow:visible">
      <path
         id="path3949-1"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective4455"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-9"
       style="overflow:visible">
      <path
         id="path3949-69"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective4483"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-5"
       style="overflow:visible">
      <path
         id="path3949-4"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective4483-6"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-52"
       style="overflow:visible">
      <path
         id="path3949-44"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective4524"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0"
       style="overflow:visible">
      <path
         id="path3949-7"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective4946"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <inkscape:perspective
       id="perspective4985"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <inkscape:perspective
       id="perspective5010"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <inkscape:perspective
       id="perspective5254"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-8"
       style="overflow:visible">
      <path
         id="path3949-7-3"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective5282"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-9"
       style="overflow:visible">
      <path
         id="path3949-7-9"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective5512"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-9-9"
       style="overflow:visible">
      <path
         id="path3949-7-9-5"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective5540"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-9-1"
       style="overflow:visible">
      <path
         id="path3949-7-9-1"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective5568"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-5"
       style="overflow:visible">
      <path
         id="path3949-7-5"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective5598"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-6"
       style="overflow:visible">
      <path
         id="path3949-7-7"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective5632"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-0"
       style="overflow:visible">
      <path
         id="path3949-7-39"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective6084"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-0-9-3"
       style="overflow:visible">
      <path
         id="path3949-7-9-6"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective6112"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-50"
       style="overflow:visible">
      <path
         id="path3949-64"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective6140"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-4"
       style="overflow:visible">
      <path
         id="path3949-3"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
    <inkscape:perspective
       id="perspective6828"
       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
       inkscape:vp_z="1 : 0.5 : 1"
       inkscape:vp_y="0 : 1000 : 0"
       inkscape:vp_x="0 : 0.5 : 1"
       sodipodi:type="inkscape:persp3d" />
    <marker
       inkscape:stockid="Arrow1Lend"
       orient="auto"
       refY="0"
       refX="0"
       id="Arrow1Lend-4-0"
       style="overflow:visible">
      <path
         id="path3949-3-4"
         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
         transform="matrix(-0.8,0,0,-0.8,-10,0)" />
    </marker>
  </defs>
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="0.7"
     inkscape:cx="190.40212"
     inkscape:cy="129.5884"
     inkscape:document-units="px"
     inkscape:current-layer="layer1"
     showgrid="false"
     inkscape:window-width="1000"
     inkscape:window-height="704"
     inkscape:window-x="11"
     inkscape:window-y="25"
     inkscape:window-maximized="0" />
  <metadata
     id="metadata7">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title />
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(-47.418246,-76.438428)">
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="46.783585"
       y="95.48922"
       id="text2816"><tspan
         sodipodi:role="line"
         id="tspan2818"
         x="46.783585"
         y="95.48922">Key event</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="46.783585"
       y="127.36035"
       id="text2820"><tspan
         sodipodi:role="line"
         id="tspan2822"
         x="46.783585"
         y="127.36035">Key event</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="145.80858"
       y="81.978302"
       id="text2830"><tspan
         sodipodi:role="line"
         id="tspan2832"
         x="145.80858"
         y="81.978302">Xib API</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="235.207"
       y="81.351532"
       id="text2834"><tspan
         sodipodi:role="line"
         id="tspan2836"
         x="235.207"
         y="81.351532">IM library</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="93.73336"
       id="text2838"><tspan
         sodipodi:role="line"
         id="tspan2840"
         x="133.49124"
         y="93.73336">XNextEvent</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="101.95583"
       id="text2842"><tspan
         sodipodi:role="line"
         id="tspan2844"
         x="133.49124"
         y="101.95583">XFilterEvent</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="127.98712"
       id="text2846"><tspan
         sodipodi:role="line"
         id="tspan2848"
         x="133.49124"
         y="127.98712">XNextEvent</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="135.05867"
       id="text2850"><tspan
         sodipodi:role="line"
         id="tspan2852"
         x="133.49124"
         y="135.05867">XFilterEvent</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="214.35158"
       id="text2854"><tspan
         sodipodi:role="line"
         id="tspan2856"
         x="133.49124"
         y="214.35158">XNextEvent</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="222.35785"
       id="text2858"><tspan
         sodipodi:role="line"
         id="tspan2860"
         x="133.49124"
         y="222.35785">XFilterEvent(returns False)</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="231.28792"
       id="text2862"><tspan
         sodipodi:role="line"
         id="tspan2864"
         x="133.49124"
         y="231.28792">XmbLookupString</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="131.33569"
       y="156.61403"
       id="text2866"><tspan
         sodipodi:role="line"
         id="tspan2868"
         x="131.33569"
         y="156.61403">XSetICFocus</tspan></text>
    <path
       style="fill:none;stroke:#000000;stroke-width:0.63770252px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       d="M 265.78566,87.858954 266.2312,384.03836"
       id="path2895"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.68468785px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       d="m 350.18414,88.4268 1.48726,298.16174"
       id="path2897"
       inkscape:connector-type="polyline" />
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="272.31775"
       y="101.96278"
       id="text2899"><tspan
         sodipodi:role="line"
         id="tspan2901"
         x="272.31775"
         y="101.96278">XIM_FORWARD_EVENT</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="272.31775"
       y="123.1926"
       id="text2903"><tspan
         sodipodi:role="line"
         id="tspan2905"
         x="272.31775"
         y="123.1926">XIM_FORWARD_EVENT</tspan><tspan
         sodipodi:role="line"
         x="272.31775"
         y="131.27585"
         id="tspan2907">or XIM_COMMIT</tspan><tspan
         sodipodi:role="line"
         x="272.31775"
         y="139.35912"
         id="tspan2909">(synchronous)</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="272.31775"
       y="160.72026"
       id="text2911"><tspan
         sodipodi:role="line"
         id="tspan2913"
         x="272.31775"
         y="160.72026">XIM_FORWARD_EVENT</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="292.59851"
       y="175.99501"
       id="text2915"><tspan
         sodipodi:role="line"
         id="tspan2917"
         x="292.59851"
         y="175.99501">XIM_SYNC</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="281.20618"
       y="197.76923"
       id="text2919"><tspan
         sodipodi:role="line"
         id="tspan2921"
         x="281.20618"
         y="197.76923">XIM_SYNC_REPLY</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="272.31302"
       y="218.45467"
       id="text2923"><tspan
         sodipodi:role="line"
         id="tspan2925"
         x="272.31302"
         y="218.45467">XIM_SET_IC_FOCUS is</tspan><tspan
         sodipodi:role="line"
         x="272.31302"
         y="226.53792"
         id="tspan2927">pend because another </tspan><tspan
         sodipodi:role="line"
         x="272.31302"
         y="234.62119"
         id="tspan2929">sync cycle is started</tspan><tspan
         sodipodi:role="line"
         x="272.31302"
         y="242.70444"
         id="tspan2931">by XIM_COMMIT</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="277.69659"
       y="260.37003"
       id="text2933"><tspan
         sodipodi:role="line"
         id="tspan2935"
         x="277.69659"
         y="260.37003">XIM_SET_IC_FOCUS</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="272.31775"
       y="302.28534"
       id="text2937"><tspan
         sodipodi:role="line"
         id="tspan2939"
         x="272.31775"
         y="302.28534">XIM_SYNC_REPLY as</tspan><tspan
         sodipodi:role="line"
         x="272.31775"
         y="310.36859"
         id="tspan2941">a reply of the </tspan><tspan
         sodipodi:role="line"
         x="272.31775"
         y="318.45184"
         id="tspan2943">XIM_FORWARD_EVENT</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="277.69659"
       y="346.37805"
       id="text2945"><tspan
         sodipodi:role="line"
         id="tspan2947"
         x="277.69659"
         y="346.37805">XIM_SET_IC_FOCUS</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="272.31775"
       y="376.79626"
       id="text2949"><tspan
         sodipodi:role="line"
         id="tspan2951"
         x="272.31775"
         y="376.79626">XIM_FORWARD_EVENT</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="347.37851"
       y="81.921471"
       id="text2953"><tspan
         sodipodi:role="line"
         id="tspan2955"
         x="347.37851"
         y="81.921471">IM Server</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="358.27658"
       y="119.92648"
       id="text2957"><tspan
         sodipodi:role="line"
         id="tspan2959"
         x="358.27658"
         y="119.92648">synchronous</tspan><tspan
         sodipodi:role="line"
         x="358.27658"
         y="128.00974"
         id="tspan2961">request</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="357.9924"
       y="153.67647"
       id="text2963"><tspan
         sodipodi:role="line"
         id="tspan2965"
         x="357.9924"
         y="153.67647">Pending</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="358.07132"
       y="272.28015"
       id="text2967"><tspan
         sodipodi:role="line"
         id="tspan2969"
         x="358.07132"
         y="272.28015">processed</tspan><tspan
         sodipodi:role="line"
         x="358.07132"
         y="280.3634"
         id="tspan2971">(The focused</tspan><tspan
         sodipodi:role="line"
         x="358.07132"
         y="288.44666"
         id="tspan2973">IC is changed)</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="358.03976"
       y="300.10788"
       id="text2975"><tspan
         sodipodi:role="line"
         id="tspan2977"
         x="358.03976"
         y="300.10788">processed</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="358.03976"
       y="332.33426"
       id="text2979"><tspan
         sodipodi:role="line"
         id="tspan2981"
         x="358.03976"
         y="332.33426">processed</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="358.03976"
       y="356.72079"
       id="text2983"><tspan
         sodipodi:role="line"
         id="tspan2985"
         x="358.03976"
         y="356.72079">processed</tspan></text>
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 264.36299,105.03516 79.29289,9.23801"
       id="path2987"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 268.13518,142.12302 79.29289,9.23801"
       id="path2987-1"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 269.52088,163.9863 79.29289,9.23801"
       id="path2987-1-9"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 269.05898,262.06314 79.29289,9.238"
       id="path2987-1-9-7"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 270.13675,321.80224 79.29289,9.23801"
       id="path2987-1-9-7-2"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 270.13675,348.74643 79.29289,9.23801"
       id="path2987-1-9-7-1"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 269.82882,357.06063 79.29289,9.23801"
       id="path2987-1-9-7-1-2"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0)"
       d="m 341.34638,128.13018 -71.59455,48.49953"
       id="path4544"
       inkscape:connector-type="polyline" />
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="133.49124"
       y="264.28122"
       id="text2866-5"><tspan
         sodipodi:role="line"
         id="tspan2868-5"
         x="133.49124"
         y="264.28122">XSetICFocus</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="214.78569"
       y="171.39485"
       id="text4963"><tspan
         sodipodi:role="line"
         id="tspan4965"
         x="214.78569"
         y="171.39485">Pending until</tspan><tspan
         sodipodi:role="line"
         x="214.78569"
         y="179.4781"
         id="tspan4967">sync cycle is </tspan><tspan
         sodipodi:role="line"
         x="214.78569"
         y="187.56137"
         id="tspan4969">done</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="47.269844"
       y="147.68396"
       id="text4971"><tspan
         sodipodi:role="line"
         id="tspan4973"
         x="47.269844"
         y="147.68396">Button press causes</tspan><tspan
         sodipodi:role="line"
         x="47.269844"
         y="155.76721"
         id="tspan4975">focus change</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="58.639027"
       y="305.18289"
       id="text2820-7"><tspan
         sodipodi:role="line"
         id="tspan2822-8"
         x="58.639027"
         y="305.18289">Key event</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="141.03561"
       y="303.50015"
       id="text2846-4"><tspan
         sodipodi:role="line"
         id="tspan2848-7"
         x="141.03561"
         y="303.50015">XNextEvent</tspan></text>
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="141.03561"
       y="312.12228"
       id="text2850-0"><tspan
         sodipodi:role="line"
         id="tspan2852-5"
         x="141.03561"
         y="312.12228">XFilterEvent</tspan></text>
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0);display:inline"
       d="M 81.199995,92.94869 124.20402,92.404331"
       id="path5048"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0);display:inline"
       d="m 83.759014,126.12468 43.004026,-0.54436"
       id="path5048-6"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.47733891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0);display:inline"
       d="m 93.961564,154.29857 33.267186,-0.55213"
       id="path5048-6-8"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0-9);display:inline"
       d="m 174.28465,99.364052 87.64112,4.899188"
       id="path5302"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0-9)"
       d="m 173.9906,134.66938 87.64111,6.53226"
       id="path5302-2"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0-9)"
       d="m 173.30399,155.50805 87.64112,6.53226"
       id="path5302-2-7"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0);display:inline"
       d="m 349.43674,176.36427 -78.8013,16.6288"
       id="path4544-3"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0);display:inline"
       d="m 264.3103,194.20137 -78.8013,16.6288"
       id="path4544-3-2"
       inkscape:connector-type="polyline" />
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="56.236271"
       y="254.34102"
       id="text5618"><tspan
         sodipodi:role="line"
         id="tspan5620"
         x="56.236271"
         y="254.34102">Application moves</tspan><tspan
         sodipodi:role="line"
         x="56.236271"
         y="262.42429"
         id="tspan5622">the focus</tspan></text>
    <path
       style="fill:none;stroke:#000000;stroke-width:0.47733891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#Arrow1Lstart);marker-end:none;display:inline"
       d="m 97.227685,228.25112 33.267185,-0.55213"
       id="path5048-6-8-8"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-0-9);display:inline"
       d="m 180.54474,262.43681 84.64716,-0.31069"
       id="path5302-2-7-2"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 182.81773,303.5919 78.56369,15.14712"
       id="path2987-1-9-7-1-0"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.53888369px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend);display:inline"
       d="m 182.83763,311.31095 79.08814,42.81112"
       id="path2987-1-9-7-1-0-3"
       inkscape:connector-type="polyline" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.5115177px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-4)"
       d="m 258.76887,219.70748 c -40.77117,71.79102 -0.10897,119.38886 0,119.51377 l 2.18035,2.44906"
       id="path6164"
       sodipodi:nodetypes="ccc" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.6913743px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend-4)"
       d="m 400.28515,175.83598 c 61.64296,86.74506 0.16474,144.25751 0,144.40845 l -3.84089,2.9592"
       id="path6164-3"
       sodipodi:nodetypes="ccc" />
    <text
       xml:space="preserve"
       style="font-size:6.46660471px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
       x="360.99832"
       y="175.02936"
       id="text6848"><tspan
         sodipodi:role="line"
         id="tspan6850"
         x="360.99832"
         y="175.02936">Pending</tspan></text>
  </g>
</svg>
